home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
YERK
/
SUPPLEME
/
UNSUPPOR
/
OPTIONAL
/
DRIVESTA.TUS
< prev
next >
Wrap
Text File
|
1986-10-01
|
800b
|
33 lines
\ Implementation of the function DriveStatus
\ 9/26/86 cdn
0 variable DrvrRec 46 allot
\ ( drv# -- )
: DriveStatus
DrvrRec 50 erase
8 DrvrRec 26 + w!
-5 DrvrRec 24 + w!
DrvrRec 22 + w!
DrvrRec fcall PBStatus
." return code " . cr
;
: x
DriveStatus
DrvrRec 28 + w@ ." current track " . cr
DrvrRec 30 + c@ ." write protect " . cr
DrvrRec 31 + c@ ." disk in place *** " . cr
DrvrRec 32 + c@ ." drive installed " . cr
DrvrRec 33 + c@ ." single sided " . cr
DrvrRec 34 + @ ." next queue entry " . cr
DrvrRec 38 + w@ ." not used " . cr
DrvrRec 40 + w@ ." drive# " . cr
DrvrRec 42 + w@ ." driver reference# " . cr
DrvrRec 44 + w@ ." FSID " . cr
DrvrRec 46 + c@ ." two-sided disk " . cr
DrvrRec 47 + c@ ." needs flush " . cr
DrvrRec 48 + w@ ." error count " . cr
DrvrRec killPtr
;